
package com.balloon.logic;

/**
 * class to store the information of the property
 * @author caspar
 */
public class Property implements IBalloon {

    private String propertyName;
    private String userEmail;
    private String propertyEmail;
    private String website;
    private String description;
    private String phone;
    private int propertyType;
    private double locationX;
    private double locationY;
    private int propertyRank;
    private String city;


/**
 *
 * @param propertyName
 * @param locationX
 * @param locationY
 * @param description
 */
    public Property(String propertyName, double locationX, double locationY, String description) {
        this.propertyName = propertyName;
        this.locationX = locationX;
        this.locationY = locationY;
        this.description = description;
    }

/**
 *
 * @param city
 * @param userEmail
 * @param propertyEmail
 * @param propertyName
 * @param website
 * @param longitude
 * @param latitude
 * @param description
 * @param phone
 * @param propertyType
 */

    public Property(String city, String userEmail, String propertyEmail, String propertyName, String website, double longitude, double latitude, String description, String phone, int propertyType) {
        this.userEmail = userEmail;
        this.propertyName = propertyName;
        this.website = website;
        this.description = description;
        this.phone = phone;
        this.propertyType = propertyType;
        this.locationX = longitude;
        this.locationY = latitude;
        this.city = city;
        this.propertyEmail = propertyEmail;

    }


/** method to get the email
 *
 * @return propertyEmail
 */

    public String getPropertyEmail(){
        return propertyEmail;
    }

    /** method to get the city
 *
 * @return city
 */
    public String getCity() {
        return city;
    }

    /** method to get the phone
 *
 * @return phone
 */
    public String getPhone() {
        return phone;
    }

        /** method to get the propertyType
 *
 * @return propertyType
 */
    public int getPropertyType() {
        return propertyType;
    }

            /** method to get the propertyType
 *
 * @return propertyType
 */
    public String getUserEmail() {
        return userEmail;
    }
        /** method to get the propertyType
 *
 * @return propertyType
 */
    public String getWebsite() {
        return website;
    }
        /** method to get the propertyType
 *
 * @return propertyType
 */
    public String getName() {
        return propertyName;
    }
        /** method to get the propertyType
 *
 * @return propertyType
 */
    public int getRank() {
        return propertyRank;
    }
        /** method to get the comments
 *
 * @return
 */
    public StringBuffer getComments() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
        /** method to get the link
 *
 * @return
 */
    public String getLink() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
        /** method to get x parameter of the location
 *
 * @return locationX
 */
    public double getLocationX() {
        return locationX;
    }
        /** method to get y parameter of the location
 *
 * @return locationY
 */
    public double getLocationY() {
        return locationY;
    }
        /** method to get the description
 *
 * @return description
 */
    public String getDescription() {
        return description;
    }
}
